using System;
using System.Collections.Generic;
using System.Text;
using FlatRedBall;
using FlatRedBall.Input;
using FlatRedBall.AI.Pathfinding;
using FlatRedBall.Graphics.Animation;
using FlatRedBall.Graphics.Particle;

using FlatRedBall.Graphics.Model;
using FlatRedBall.Math.Geometry;
using FlatRedBall.Math.Splines;

using Cursor = FlatRedBall.Gui.Cursor;
using GuiManager = FlatRedBall.Gui.GuiManager;
using FlatRedBall.Graphics;

#if FRB_XNA || SILVERLIGHT
using Keys = Microsoft.Xna.Framework.Input.Keys;
using Vector3 = Microsoft.Xna.Framework.Vector3;
using Texture2D = Microsoft.Xna.Framework.Graphics.Texture2D;
using FlatRedBall.Graphics;
#endif

namespace Gnome.Screens
{
	public partial class LevelBaseMult
	{
        private const float FONT_SIZE = 20;


		public void CustomInitialize()
		{
            MultiplayerInstructions.DisplayText = "Be the first to reach 3000 points. But be careful! \nIf you get caught by a bird, you lose.";
            MultiplayerInstructions.Visible = true;
            //MultiplayerInstructions.X = -Game1.RESOLUTION_WIDTH/2;
            MultiplayerInstructions.Y = -10;
            MultiplayerInstructions.Scale = FONT_SIZE;
            MultiplayerInstructions.Spacing = FONT_SIZE;
            MultiplayerInstructions.NewLineDistance = FONT_SIZE * 1.8f;
            MultiplayerInstructions.HorizontalAlignment = HorizontalAlignment.Center;
            TextManager.AddToLayer(MultiplayerInstructions, hudlayer);
		}

		public void CustomActivity(bool firstTimeCalled)
		{
            if (!isPaused)
            {
                if (InstructionTimer > 0)
                    InstructionTimer -= TimeManager.SecondDifference;
                else
                    MultiplayerInstructions.RemoveSelfFromListsBelongingTo();
            }
		}

		public void CustomDestroy()
		{


		}

        private static void CustomLoadStaticContent(string contentManagerName)
        {


        }

	}
}
